home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / misc_src / knowhow4 / khbgi.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-01  |  488 b   |  17 lines

  1. /*   The BGI bar(...) function works in strange manner. If you use
  2.          pattern that differs from SOLID_FILL, the second color is
  3.      BLACK. To correct this situation we use overloaded bar(...)
  4.      function.
  5. */
  6.  
  7. #ifndef __KH_BGI_H_
  8. #define __KH_BGI_H_
  9.  
  10. #include "geom.h"
  11. #include "simple.h"
  12.  
  13. extern void bar(int left, int top, int right, int bottom,
  14.          int col, int bak, uchar* pattern);
  15. extern void bar(rect r, int col, int bak, uchar* pattern);
  16.  
  17. #endif __KH_BGI_H_